package com.yxym.wrapper;

public class WrapperType {
    public static void main(String[] args) {
        int n1 = 20;
        Integer integer = Integer.valueOf(n1);
        int n2 = 100;
        Integer integer1 = Integer.valueOf(n2);
        //底层使用Integer.valueOf(n2),自动装箱int->Integer
        //自动拆箱Integer->int
        int n3 = integer1;

    }
}
